package ch.cryptobox.filehandles;

import java.util.ArrayList;
import java.util.Date;

public interface FileHandleI {

	public abstract boolean isDirectory();

	public abstract byte[] download();

	public abstract FileHandleI getFile(final String relPath);

	public abstract FileHandleI getDirectory(final String relPath);

	public abstract boolean isRoot();

	public abstract ArrayList<FileHandleI> getFiles();

	public abstract FileHandleI getParent();

	public abstract String toString();

	public abstract String getName();

	public abstract String getPath();	

	//public abstract fhandle getHandle(); // not its place here

	public abstract Date getDate();

}